package com.linkhub.oms.entity.innerproperties;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Redball
 * @version 1.0.0
 * @Description TrackEventInfoEntity
 * @createTime 2024/10/26 下午4:44
 */
@Data
@NoArgsConstructor
@ApiModel(value="TrackEventInfoEntity", description="TrackEventInfoEntity")
public class TrackEventInfoEntity implements Serializable {

    @JSONField(name = "time_iso")
    private String timeIso;
    @JSONField(name = "time_utc")
    private String timeUtc;
    @JSONField(name = "description")
    private String description;
    @JSONField(name = "description_translation")
    private String descriptionTranslation;
    @JSONField(name = "location")
    private String location;
    @JSONField(name = "stage")
    private String stage;
    @JSONField(name = "sub_status")
    private String subStatus;
    @JSONField(name = "address")
    private TrackAddress address;

    @NoArgsConstructor
    @Data
    public static class TrackAddress {
        @JSONField(name = "country")
        private String country;
        @JSONField(name = "state")
        private String state;
        @JSONField(name = "city")
        private String city;
        @JSONField(name = "street")
        private String street;
        @JSONField(name = "postal_code")
        private String postal_code;
        @JSONField(name = "coordinates")
        private String coordinates;
    }
}


